package com.cskt.petoms.service.remote;

import com.cskt.common.entity.pojo.Sku;
import com.cskt.common.entity.vo.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 远程商品service接口
 *
 * @author admin
 **/
@FeignClient(name = "pet-oms",path = "/pms/product")
public interface RemoteProductService {

    @GetMapping(value = "/sku/{skuId}")
    ResultVO<Sku> getSkuById(@PathVariable("skuId") Long skuId);

}
